using System;
using System.Collections;

namespace Com.CMS263.PO
{
	#region StudentStudy

	/// <summary>
	/// StudentStudy object for NHibernate mapped table 'StudentStudy'.
	/// </summary>
	public class StudentStudy
	{
		#region Member Variables
		
		protected int _id;
		protected int _studentInfoId;
		protected string _realName;
		protected DateTime _addDate;
		protected string _one;
		protected string _two;
		protected string _three;
		protected string _four;
		protected string _five;
		protected string _six;
		protected string _seven;
		protected string _eight;
		protected string _night;

		#endregion

		#region Constructors

		public StudentStudy() { }

		public StudentStudy( int studentInfoId, string realName, DateTime addDate, string one, string two, string three, string four, string five, string six, string seven, string eight, string night )
		{
			this._studentInfoId = studentInfoId;
			this._realName = realName;
			this._addDate = addDate;
			this._one = one;
			this._two = two;
			this._three = three;
			this._four = four;
			this._five = five;
			this._six = six;
			this._seven = seven;
			this._eight = eight;
			this._night = night;
		}

		#endregion

		#region Public Properties

		public virtual int Id
		{
			get {return _id;}
			set {_id = value;}
		}

		public  virtual int StudentInfoId
		{
			get { return _studentInfoId; }
			set { _studentInfoId = value; }
		}

		public  virtual string RealName
		{
			get { return _realName; }
			set
			{
				if ( value != null && value.Length > 50)
					throw new ArgumentOutOfRangeException("Invalid value for RealName", value, value.ToString());
				_realName = value;
			}
		}

		public  virtual DateTime AddDate
		{
			get { return _addDate; }
			set { _addDate = value; }
		}

		public  virtual string One
		{
			get { return _one; }
			set
			{
				if ( value != null && value.Length > 50)
					throw new ArgumentOutOfRangeException("Invalid value for One", value, value.ToString());
				_one = value;
			}
		}

		public  virtual string Two
		{
			get { return _two; }
			set
			{
				if ( value != null && value.Length > 50)
					throw new ArgumentOutOfRangeException("Invalid value for Two", value, value.ToString());
				_two = value;
			}
		}

		public  virtual string Three
		{
			get { return _three; }
			set
			{
				if ( value != null && value.Length > 50)
					throw new ArgumentOutOfRangeException("Invalid value for Three", value, value.ToString());
				_three = value;
			}
		}

		public  virtual string Four
		{
			get { return _four; }
			set
			{
				if ( value != null && value.Length > 50)
					throw new ArgumentOutOfRangeException("Invalid value for Four", value, value.ToString());
				_four = value;
			}
		}

		public  virtual string Five
		{
			get { return _five; }
			set
			{
				if ( value != null && value.Length > 50)
					throw new ArgumentOutOfRangeException("Invalid value for Five", value, value.ToString());
				_five = value;
			}
		}

		public  virtual string Six
		{
			get { return _six; }
			set
			{
				if ( value != null && value.Length > 50)
					throw new ArgumentOutOfRangeException("Invalid value for Six", value, value.ToString());
				_six = value;
			}
		}

		public  virtual string Seven
		{
			get { return _seven; }
			set
			{
				if ( value != null && value.Length > 50)
					throw new ArgumentOutOfRangeException("Invalid value for Seven", value, value.ToString());
				_seven = value;
			}
		}

		public  virtual string Eight
		{
			get { return _eight; }
			set
			{
				if ( value != null && value.Length > 50)
					throw new ArgumentOutOfRangeException("Invalid value for Eight", value, value.ToString());
				_eight = value;
			}
		}

		public  virtual string Night
		{
			get { return _night; }
			set
			{
				if ( value != null && value.Length > 50)
					throw new ArgumentOutOfRangeException("Invalid value for Night", value, value.ToString());
				_night = value;
			}
		}

		

		#endregion
	}
	#endregion
}